<%--
  Created by IntelliJ IDEA.
  User: yangpengjie
  Date: 2022/12/23
  Time: 17:29
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%--<html>--%>
<%--<head>--%>
<%--    <title>Title</title>--%>
<%--</head>--%>
<%--<body>--%>
<%@include file="opencss.jsp"%>
<%@include file="common_css.jsp"%>
<section class="slice slice-lg pt-lg-6 pb-0 pb-lg-6 bg-section-secondary">
    <div class="container">
        <!-- Title -->
        <!-- Section title -->
        <div class="row mb-5 justify-content-center text-center">
            <div class="col-lg-6">
                    <span class="badge badge-soft-success badge-pill badge-lg">
                        Get started
                    </span>
                <h2 class=" mt-4">Carefuly crafted components ready to use in your project</h2>
                <div class="mt-2">
                    <p class="lead lh-180">Use Atomic Design to build components, sections and, then, pages.</p>
                </div>
            </div>
        </div>
        <!-- Card -->
        <div class="row mt-5">
            <div class="col-md-4">
                <div class="card">
                    <div class="card-body pb-5">
                        <div class="pt-4 pb-5">
                            <img src="/style/illustration-5.svg" class="img-fluid img-center" style="height: 150px;" alt="Illustration" />
                        </div>
                        <h5 class="h4 lh-130 mb-3">Teacher Login Port</h5>
                        <p class="text-muted mb-0">Welcome teachers register login management system.</p>
                        <button type="button" onclick="doLoginT()" class="effect-btn btn btn-primary mt-2 mr-2">老师登录</button>
                        <button type="button" onclick="doRegisterT()" class="effect-btn btn btn-secondary mt-2 mr-2">老师注册</button>
                    </div>
                </div>
            </div>
            <div class="col-md-4">
                <div class="card">
                    <div class="card-body pb-5">
                        <div class="pt-4 pb-5">
                            <img src="/style/illustration-6.svg" class="img-fluid img-center" style="height: 150px;" alt="Illustration" />
                        </div>
                        <h5 class="h4 lh-130 mb-3">Admin Login Port</h5>
                        <p class="text-muted mb-0">Welcome Admin Login management system</p>
                        <button type="button" onclick="doLoginA()" class="effect-btn btn btn-primary mt-2 mr-2">管理员登录</button>
<%--                        <button type="button" onclick="doRegister()" class="effect-btn btn btn-secondary mt-2 mr-2">老师注册</button>--%>
                    </div>
                </div>
            </div>
            <div class="col-md-4">
                <div class="card">
                    <div class="card-body pb-5">
                        <div class="pt-4 pb-5">
                            <img src="/style/illustration-7.svg" class="img-fluid img-center" style="height: 150px;" alt="Illustration" />
                        </div>
                        <h5 class="h4 lh-130 mb-3">Student Login Port</h5>
                        <p class="text-muted mb-0">Welcome Student Register Login management</p>
                        <button type="button" onclick="doLoginS()" class="effect-btn btn btn-primary mt-2 mr-2">学生登录</button>
                        <button type="button" onclick="doRegisterS()" class="effect-btn btn btn-secondary mt-2 mr-2">学生注册</button>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>
<%@include file="common_js.jsp"%>>

<script>
    function doLoginT(){
        alert("Hello Teacher");
        setTimeout("window.location.href='/jsp/client/TeacherLogin.jsp'", 1000)
    }
    function doRegisterT(){
        alert("Welcome to you use it")
        setTimeout("window.location.href='/jsp/teacher/T_register.jsp'", 1000)
    }
    function doLoginS(){
        alert("Hello Student");
        setTimeout("window.location.href='/jsp/client/login.jsp'", 1000)
    }
    function doRegisterS(){
        alert("Welcome to you use it")
        setTimeout("window.location.href='/jsp/student/S_register.jsp'", 1000)
    }
    function doLoginA(){
        alert("Hello Admin");
        setTimeout("window.location.href='/jsp/admin/login.jsp'", 1000)
    }
</script>

<%--</body>--%>
<%--</html>--%>
